import type { AnyObject } from "@/types/newpeople";
import request from "@/utils/request";

export type SimilarModel={
    similar:SimilarValueModel[]
}

export interface SimilarValueModel{
    kw:string
    page:number
    row:number
    device:string
    condition:string
    spellchecker:boolean
    core:string
}

export const reqSimilarAlbum = () => {
    return request.get<any,SimilarModel>(`/api/user`)
    // return request.get<any,AnyObject>(`/api/user?kw=${data.kw}&page=${data.page}&row=${data.row}&device=${data.device}&condition=${data.condition}&spellchecker=${data.spellchecker}&core=${data.core}`)
}